const common = require("../../../public.js");
Page({
  data: {
  },

  onLoad: function (options) {
  },

  onShow: function () {

  },
  clickSave() {
    const benUrl = 'https://feiyangimage.oss-cn-shanghai.aliyuncs.com/wxApplets/serverQrcode.png'
    wx.getImageInfo({
      src: benUrl,
      success: function (res) {
        var path = res.path
        wx.saveImageToPhotosAlbum({
          filePath: path,
          success(res) {
            common.showToast('保存成功')
          }
        })
      }
    })
  }
})